﻿// Copyright richyp 2009
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Richyp.Bodger;

namespace Richyp.Bodger.UI {
    public partial class AboutSystemForm : Form {
        public AboutSystemForm() {
            InitializeComponent();
        }

        public void Populate(CodexFile file) {
            this.pictureBoxLogo.Image = file.GameSystem.Icon;
            this.labelName.Text = file.GameSystem.Name;
            this.labelVersion.Text = file.GameSystem.Version;
            this.labelAuthor.Text = file.GameSystem.Author;
        }
    }
}
